.swiperBg{
    min-height: 11.625rem;
    background: url(~@/assets/img/swiperBg.png) no-repeat;
    background-size: 100% 100%;
}
.tagStyle{
    color: rgba(126, 81, 34, 1);
    border-radius: 10px;
    padding: 3px 10px;
    font-size: 0.625rem;
    height: 20px;
    border-radius: 20px;
    background-color: #FEE6AB;
    margin-right: 5px;
    font-family: 'PingFangSC-Regular';
}
.bgYellow{
    background-image:url(../../assets/AiImgs/title-underline.png) ;
    background-size:62px auto;
    background-repeat: no-repeat;
    background-position:left bottom;
}
.photoBg{
    width: 58px;
    height: 59px;
    display: flex;
    justify-content: center;
    align-items: center;
    // background-image:url(~@/assets/AiImgs/headPhoto.png) ;
    background-size: 58px auto;
    background-repeat: no-repeat;
    background-position:center;

    &::before {
      content: "";
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, calc( -50% + 1px ));
      width: calc( 100% + 10px );
      height: calc( 100% + 10px );
      background-image: url(~@/assets/AiImgs/headPhoto.png);
      background-size: 100% 100%;
      background-repeat: no-repeat;
      background-position: center;
    }

    img {
      transform: scale(1);
    }
}
.topContent{
    background-image:url(~@/assets/AiImgs/topBg.png) ;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position:center top ;
    top: 2px
}

.topHeight{
    // height: calc(100vh - 82px); /* 减去header/footer高度 */
}
@keyframes fadeIn {
    // 0% {
    //   /* 起始状态样式 */
    //   opacity: 0;
    //   transform: translateX(100%);
    // }
    // 50% {
    //   /* 中间状态样式 */
    //   opacity: 0.5;
    //   transform: translateX(50%);
    // }
    // 100% {
    //   /* 结束状态样式 */
    //   opacity: 1;
    //   transform: translateX(0);
    // }
     0% {
        opacity: 0;
      }
      50% {
        opacity: 0.5;
      }
      100% {
        opacity: 1;
      }
  }
//   @keyframes slide {
//     0%{ opacity: 0; transform: translateX(66.666%); } /* 第1张停留 */
//     25%{ opacity: 0.2; transform: translateX(55.555%); } /* 第1张停留 */
//     50% {  opacity: 0.4;transform: translateX(33.333%); } /* 第2张停留 */
//     750% {  opacity: 0.8;transform: translateX(11.111%); } /* 第2张停留 */
//     100% { opacity: 1;transform: translateX(0); } /* 复位 */
//   }
  .fadeinelement {
    transform: scale(1.05);
    animation: fadeIn 0.1s 1;
    transition: all 0.2s ease; /* 添加过渡效果 *
  }


  .mainBody{
    // padding-bottom: constant(safe-area-inset-bottom); /*兼容 IOS<11.2*/
    // padding-bottom: env(safe-area-inset-bottom); /*兼容 IOS>11.2*/
  }
  .footer{
    padding-bottom: calc(~"constant(safe-area-inset-bottom)" + 82px);
    padding-bottom: calc(~"env(safe-area-inset-bottom)" + 82px);
  }